package cn.javass.dp.visitor.example3;


public abstract class Customer {

    private String name;

    private String customerId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    /**
     * 接受访问者对象
     * @param visitor
     */
    public abstract void accept(Visitor visitor);
}
